VT-d: fix Device-TLB flush timeout issue
authorQuan Xu <quan.xu@intel.com>
Fri, 8 Jul 2016 06:46:15 +0000 (00:46 -0600)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 15 Jul 2016 09:50:42 +0000 (10:50 +0100)
commit1b39e1085c83929826eda4db6c7a10dce6971619
tree497f6f9c8deea3a23c964e73cd2fc4a0be266961
parentecb38915edbb394bf4d1c46778b844a30baec8c1
VT-d: fix Device-TLB flush timeout issue

If Device-TLB flush timed out, we hide the target ATS device
immediately. By hiding the device, we make sure it can't be
assigned to any domain any longer (see device_assigned).

Signed-off-by: Quan Xu <quan.xu@intel.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Tested-by: Quan Xu <quan.xu@intel.com>
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/qinval.c
xen/drivers/passthrough/vtd/x86/ats.c
xen/include/xen/iommu.h